package mx.collections;

extern interface IViewCursor implements flash.events.IEventDispatcher {
	var afterLast(default,null) : Bool;
	var beforeFirst(default,null) : Bool;
	var bookmark(default,null) : CursorBookmark;
	var current(default,null) : Dynamic;
	var view(default,null) : ICollectionView;
	function findAny(values : Dynamic) : Bool;
	function findFirst(values : Dynamic) : Bool;
	function findLast(values : Dynamic) : Bool;
	function insert(item : Dynamic) : Void;
	function moveNext() : Bool;
	function movePrevious() : Bool;
	function remove() : Dynamic;
	function seek(bookmark : CursorBookmark, ?offset : Int, ?prefetch : Int) : Void;
}
